
<div class="layui-form" lay-filter="layuiadmin-form-admin" id="layuiadmin-form-admin" style="padding: 20px 30px 0 0;">

    <div class="layui-col-xs12 layui-col-sm12 layui-col-md12">
        <div class="layui-form-item">
            <label class="layui-form-label">选择工作流</label>
            <div class="layui-input-block">
                <select name="project_id" lay-verify="required" lay-search="">
                    <option value="">直接选择或搜索选择</option>
                    {foreach $project as $vo}
                    <option value="{$vo.id}">{$vo.name}</option>
                    {/foreach}
                </select>
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">项目月份</label>
        <div class="layui-input-block">
            <input type="text" name="yuefen" id="yuefen" required placeholder="请输入项目月份" autocomplete="off"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item layui-hide">
        <input type="button" lay-submit lay-filter="LAY-user-back-submit" id="LAY-user-back-submit" value="确认">
    </div>
</div>
<script src="/static/admin/video/jquery.js"></script>

<script src="/static/admin/layui/layui.js"></script>

<script>
    layui.config({
        base: '/static/admin/' //静态资源所在路径
    }).extend({
        index: 'lib/index', //主入口模块
        treeTable: '../admin/lib/extend/authtree'
    }).use(['index', 'form', 'laydate'], function () {
        var $ = layui.$, form = layui.form, laydate = layui.laydate;
        //日期范围
        laydate.render({
            elem: '#yuefen'
            , trigger: 'click'//呼出事件改成click
        });
    });
</script>

